class StepsType {
  final int id;
  final String name;
  final String desc;
  final String cover;
  // ignore: non_constant_identifier_names
  final int cook_id;

  StepsType({this.id, this.name, this.desc, this.cover, this.cook_id});

  factory StepsType.fromJson(Map<String, dynamic> json) {
    return StepsType(
      cover: json['cover'] as String,
      id: json['id'] as int,
      desc: json['desc'] as String,
      name: json['name'] as String,
      cook_id: json['cook_id'] as int,
    );
  }
}
